package com.tiancheng.trade.settlement.feign.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;


/**
 * @Auther: dell
 * @Date: 2024/3/19 15:38
 * @Param ${tags}
 * @Description:
 */
@Setter
@Getter
@ToString
public class SettlementOrderDTO {
    /**
     * userID
     */
    private String userId;

    /**
     * 核销ID
     */
    private String verificationId;

    /**
     * 核销金额
     */
    private Integer verifiedAmount;
    /**
     * 支付流水ID
     */
    private Long flowId;

    /**
     * 主订单号
     */
    private String orderId;
    /**
     * 子订单号
     */
    private String subOrderId;

    /**
     * 核销时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("verified_time")
    private LocalDateTime verifiedTime;

}
